
export interface Options {
    params?: any;
    success?: ApiFunction;
    error?: ApiFunction;
}

export type ApiFunction = (val?: any) => void;
export const DApiFunction = (val?: any) => false;
export const DOptions: Options = {
    params: {},
    success: DApiFunction,
    error: DApiFunction,
};


